package com.wanmait.recruitment.pojo;

import java.io.Serializable;
import java.util.Date;

public class Comment implements Serializable {
    private Integer id;

    /**
	* 评论的职位id
	*/
    private Job job;

    /**
	* 评论用户的id
	*/
    private Userinfo userinfo;

    /**
	* 评论用户级父的id
	*/
    private Integer parentId;

    private Date inputTime;

    /**
	* 评论内容
	*/
    private String content;

    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Job getJob() {
        return job;
    }

    public void setJob(Job job) {
        this.job = job;
    }

    public Userinfo getUserinfo() {
        return userinfo;
    }

    public void setUserinfo(Userinfo userinfo) {
        this.userinfo = userinfo;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Date getInputTime() {
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", job=").append(job);
        sb.append(", userinfo=").append(userinfo);
        sb.append(", parentId=").append(parentId);
        sb.append(", inputTime=").append(inputTime);
        sb.append(", content=").append(content);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}